package com.music;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @EnableDiscoveryClient
 * 1、可以获取服务信息
 * 2、用于向consul或者zookeeper或nacos 作为注册中心的时候提供注册服务
 */
@SpringBootApplication
@EnableDiscoveryClient
public class CloudSmsApplication {

	public static void main(String[] args) {
		SpringApplication.run(CloudSmsApplication.class, args);
	}

}
